import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/erp/${url}`, ...arg)
/**
 * erp公共接口
 */
export default {
	// 获取类目树形
	getCategory(data) {
		return request('serviceProject/tree', data, 'get')
	},
	// 获取乙方列表
	getCompanyAccount(data) {
		return request('companyAccount/list', data, 'get')
	}
}
